﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using Microsoft.EntityFrameworkCore.Metadata.Internal;

namespace DHJ.Cost.RealTimeCost
{
    public class EstimatedCostMessage : Entity<Guid>, IHasCreationTime
    {
        public Guid CostId { get; set; }

        [ForeignKey("CostId")]
        public EstimatedCost Cost { get; set; }

        public long UserId { get; set; }

        public bool Read { get; set; }

        public DateTime CreationTime { get; set; }
    }
}
